package com.interauto.Dao.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 校验表
 */
public class Checktable implements Serializable {
    private Integer id;
    /**
     * 校验内容
     * 1,如果是脚本校验,直接是脚本内容
     * 2,规则校验就是$.data.info[2]
     */
    private String checkinfo;
    /**
     * 各种断言条件，同AutoExpectEnum
     */
    private Integer autoExpectEnum;
    /**
     * 预期结果
     */
    private String expectinfo;
    /**
     * 关联的接口ID
     */
    private Integer interid;
    private Date updatetime;
    private Date createtime;

    @Override
    public String toString() {
        return "Checktable{" +
                "id=" + id +
                ", checkinfo='" + checkinfo + '\'' +
                ", autoExpectEnum=" + autoExpectEnum +
                ", expectinfo='" + expectinfo + '\'' +
                ", interid=" + interid +
                ", updatetime=" + updatetime +
                ", createtime=" + createtime +
                '}';
    }


    public Checktable() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCheckinfo() {
        return checkinfo;
    }

    public void setCheckinfo(String checkinfo) {
        this.checkinfo = checkinfo;
    }

    public Integer getAutoExpectEnum() {
        return autoExpectEnum;
    }

    public void setAutoExpectEnum(Integer autoExpectEnum) {
        this.autoExpectEnum = autoExpectEnum;
    }

    public String getExpectinfo() {
        return expectinfo;
    }

    public void setExpectinfo(String expectinfo) {
        this.expectinfo = expectinfo;
    }

    public Integer getInterid() {
        return interid;
    }

    public void setInterid(Integer interid) {
        this.interid = interid;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
